package lx.scrmXj.pojo;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description 企业微信_成员（添加成员时可以选择多个部门、多个标签）
 * @Author 李星
 * @Date 2020/2/21 11:21
 */
public class UserPojo implements Serializable {
    private String createUserAccount; // 操作员账号

    private Date createTime; // 创建时间

    private String userid; // 成员UserID。对应管理端的帐号，企业内必须唯一。不区分大小写，长度为1~64个字节。只能由数字、字母和“_-@.”四种字符组成，且第一个字符必须是数字或字母。

    private String name; // 名称

    private String alias; // 别名；第三方仅通讯录应用可获取

    private String mobile; // 手机号码，第三方仅通讯录应用可获取

    private String department; // 成员所属部门名称|编号列表

    private String order; // 部门内的排序值，默认为0,必须和department一致，数值越大排序越前面

    private String position; // 职务信息；第三方仅通讯录应用可获取

    private Integer gender; // 性别。0表示未定义，1表示男性，2表示女性

    private String email; // 邮箱，第三方仅通讯录应用可获取

    private String telephone; // 座机。第三方仅通讯录应用可获取

    private String isLeaderInDept; // 表示在所在的部门内是否为上级；第三方仅通讯录应用可获取

    private Integer isleader; // 是否领导

    private String avatarMediaid; // 成员头像的mediaid，通过素材管理接口上传图片获得的mediaid

    private Integer enable; // 成员启用状态。1表示启用的成员，0表示被禁用。服务商调用接口不会返回此字段

    private String avatar; // 头像url。第三方仅通讯录应用可获取

    private String thumbAvatar; // 头像缩略图url。第三方仅通讯录应用可获取

    private Integer status; // 激活状态(1：已激活，2:已禁用，4:未激活 )

    private String qrCode; // 员工个人二维码，扫描可添加为外部联系人；第三方仅通讯录应用可获取

    private String address; // 地址

    private Integer hideMobile; // 是否隐藏手机号

    private String toInvite; // 是否邀请该成员使用企业微信,默认true

    private String externalPosition; // 对外职务， 第三方仅通讯录应用可获取

    // {
    // "external_corp_name":"企业简称",
    // "external_attr":[
    //  {"type":0,"name":"文本名称","text":{"value":"文本"}},
    //  {"type":1,"name":"网页名称","web":{"url":"http://www.test.com","title":"标题"}},
    //  {"type":2,"name":"测试app","miniprogram":{"appid":"wx8bd8012614784fake","pagepath":"/index","title":"my miniprogram"}}]
    //  }
    private String externalProfile; // 成员对外属性

//   {
//     "attrs": []
//   },
    private String extattr; // 扩展属性，第三方仅通讯录应用可获取

    private String account; // 附加属性：工号

    private String photo; // 附加属性：照片

    private String tag; // 附加属性：标签

    private String province; // 附加属性：省,2级代表通讯顾问组

    private String provinceId;

    private String city; // 附加属性：市,3级代表地市一级
    private String cityId;

    private String area; // 附加属性：区,4级代表区县2级
    private String areaId;

    private String self3; // 附加属性: 自营三级代表组织架构5级
    private String self3Id;

    private String businessHall; // 附加属性：营业厅四级代表组织架构6级
    private String businessHallId; // 附加属性：营业厅四级代表组织架构6级

    private String pointofSaleCode; // 附加属性：销售点编码

    private static final long serialVersionUID = 1L;

    public UserPojo() {}

    public UserPojo(String department) {
        this.department = department;
    }

    public String getCreateUserAccount() {
        return createUserAccount;
    }

    public void setCreateUserAccount(String createUserAccount) {
        this.createUserAccount = createUserAccount;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAlias() {
        return alias;
    }

    public void setAlias(String alias) {
        this.alias = alias;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getOrder() {
        return order;
    }

    public void setOrder(String order) {
        this.order = order;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getTelephone() {
        return telephone;
    }

    public void setTelephone(String telephone) {
        this.telephone = telephone;
    }

    public String getIsLeaderInDept() {
        return isLeaderInDept;
    }

    public void setIsLeaderInDept(String isLeaderInDept) {
        this.isLeaderInDept = isLeaderInDept;
    }

    public Integer getIsleader() {
        return isleader;
    }

    public void setIsleader(Integer isleader) {
        this.isleader = isleader;
    }

    public String getAvatarMediaid() {
        return avatarMediaid;
    }

    public void setAvatarMediaid(String avatarMediaid) {
        this.avatarMediaid = avatarMediaid;
    }

    public Integer getEnable() {
        return enable;
    }

    public void setEnable(Integer enable) {
        this.enable = enable;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public String getThumbAvatar() {
        return thumbAvatar;
    }

    public void setThumbAvatar(String thumbAvatar) {
        this.thumbAvatar = thumbAvatar;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getQrCode() {
        return qrCode;
    }

    public void setQrCode(String qrCode) {
        this.qrCode = qrCode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Integer getHideMobile() {
        return hideMobile;
    }

    public void setHideMobile(Integer hideMobile) {
        this.hideMobile = hideMobile;
    }

    public String getToInvite() {
        return toInvite;
    }

    public void setToInvite(String toInvite) {
        this.toInvite = toInvite;
    }

    public String getExternalPosition() {
        return externalPosition;
    }

    public void setExternalPosition(String externalPosition) {
        this.externalPosition = externalPosition;
    }

    public String getExternalProfile() {
        return externalProfile;
    }

    public void setExternalProfile(String externalProfile) {
        this.externalProfile = externalProfile;
    }

    public String getExtattr() {
        return extattr;
    }

    public void setExtattr(String extattr) {
        this.extattr = extattr;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPhoto() {
        return photo;
    }

    public void setPhoto(String photo) {
        this.photo = photo;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(String provinceId) {
        this.provinceId = provinceId;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getCityId() {
        return cityId;
    }

    public void setCityId(String cityId) {
        this.cityId = cityId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getAreaId() {
        return areaId;
    }

    public void setAreaId(String areaId) {
        this.areaId = areaId;
    }

    public String getSelf3() {
        return self3;
    }

    public void setSelf3(String self3) {
        this.self3 = self3;
    }

    public String getSelf3Id() {
        return self3Id;
    }

    public void setSelf3Id(String self3Id) {
        this.self3Id = self3Id;
    }

    public String getBusinessHall() {
        return businessHall;
    }

    public void setBusinessHall(String businessHall) {
        this.businessHall = businessHall;
    }

    public String getBusinessHallId() {
        return businessHallId;
    }

    public void setBusinessHallId(String businessHallId) {
        this.businessHallId = businessHallId;
    }

    public String getPointofSaleCode() {
        return pointofSaleCode;
    }

    public void setPointofSaleCode(String pointofSaleCode) {
        this.pointofSaleCode = pointofSaleCode;
    }
}